github.com/refraction-networking/utls.cipherSuite.cipher (field)

11 uses

	github.com/refraction-networking/utls (current package)
		cipher_suites.go#L145: 	cipher func(key, iv []byte, isRead bool) any
		handshake_client.go#L882: 	if hs.suite.cipher != nil {
		handshake_client.go#L883: 		clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
		handshake_client.go#L885: 		serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
		handshake_server.go#L796: 		clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */)
		handshake_server.go#L798: 		serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */)
		u_conn.go#L778: 		if cs.cipher != nil {
		u_conn.go#L779: 			clientCipher = cs.cipher(clientKey, clientIV, true /* for reading */)
		u_conn.go#L781: 			serverCipher = cs.cipher(serverKey, serverIV, false /* not for reading */)
		u_public.go#L524: 			cipher: cs.Cipher,
		u_public.go#L542: 			Cipher: cs.cipher,